package main

import (
	"bufio"
	"fmt"
	"log"
	"os"

	"gitee.com/StarCitizen_CN/l10n_maker/internal/respacker"
)

func main() {

	err := os.RemoveAll(respacker.OUTPUT_PATH)
	if err != nil {
		log.Fatalln(err)
	}

	fmt.Print("按回车开始分包")
	reader := bufio.NewReader(os.Stdin)
	reader.ReadString('\n')

	respacker.Go()

	fmt.Print("分包完毕")
}
